triplot

triplot(in::Matrix; onlyedges::Bool=false, noplot::Bool=false, kw...)

Plots the 2-D triangulation or Voronoi polygons defined by the points in a matrix.

Returns

A GMTdataset if noplot=true or nothing otherwise.

Examples

Using a grid

using GMT
triplot(rand(5,2), voronoi=true, show=true)

using GMT
triplot(rand(5,3), lc=:red, show=true)

See Also

sphtriangulate, triangulate, trisurf, plot